﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using POSSystem.BLL;

namespace ShopOnline
{
    public partial class AllTags : BasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
                tagList.Rebind();
            ((ProductMaster)this.Master).SetPageTitle("Tags");
        }

        protected void tagList_OnNeedDataSource(object sender, EventArgs e)
        {
            View_ProductTags tags = new View_ProductTags();
            tags.Query.Load();

            tagList.DataSource = tags.DefaultView;
        }
    }
}